package com.leyou.domain.db1entity;

import java.io.Serializable;
import java.util.Date;

public class Email implements Serializable {


    private static final long serialVersionUID = 320395960472456891L;

    private String id;
    private String type;
    private String to;
    private Date timestation;
    private Integer trycount;
    private String status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getTimestation() {
        return timestation;
    }

    public void setTimestation(Date timestation) {
        this.timestation = timestation;
    }

    public Integer getTrycount() {
        return trycount;
    }

    public void setTrycount(Integer trycount) {
        this.trycount = trycount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    @Override
    public String toString() {
        return "Email{" +
                "id='" + id + '\'' +
                ", type='" + type + '\'' +
                ", to='" + to + '\'' +
                ", timestation=" + timestation +
                ", trycount=" + trycount +
                ", status='" + status + '\'' +
                '}';
    }
}
